package com.cskaoyan.bean.bo.admin.order;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author Aaliyah
 * @date 2022/9/7 1:21
 * @description: 接收来自/admin/order/list 的请求数据
 */
@Data
public class OrderListBo {

    private Integer page;

    private Integer limit;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date[] timeArray;

    private Short[] orderStatusArray;

    private String sort;

    private String order;

    private Integer orderId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date start;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date end;

    private Integer userId;

    private String orderSn;

}
